package com.atguigu.common.config;

import org.springframework.cloud.commons.util.InetUtilsProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

@Configuration
public class CustomInetConfig {

    @Bean
    @Primary
    public InetUtilsProperties primaryInetUtilsProperties() {
        return new InetUtilsProperties();
    }
}
